/**
 * Created by 白雨浓 on 2018/1/16 18:32.
 */

export const template = `package <%= packageName %>.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
<% imports.forEach(item=>{ %>import <%= item %>;<%})%>

/**
* <%= packageName %>.bean
*
* @author <%= author %>
* date: <%= date %>
* content: 模型
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class <%= clsName %>Bean implements Serializable {
    <% variables.forEach(item=>{ %>
    <% if (item.comment != '') {%> 
    /**
     * <%= item.comment %>
     */<%}%>
    private <%= item.type %> <%= item.name %>; <%})%>
    
}
`;